package com.kuang.pojo;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Component;

@Component
//<bean id="user" class="com.kuang.pojo.User"/>
public class User {
    @Value("卞浩")
//    <property name="name" value="卞浩"/>
    public String name;
}
